﻿<%@ Page Title="" Language="C#" MasterPageFile="~/front.master" AutoEventWireup="true" CodeFile="dang-tin.aspx.cs" Inherits="dang_tin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Đăng tin</title>
    <link href="/Scripts/CLEditor1_3_0/jquery.cleditor.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/CLEditor1_3_0/jquery.cleditor.js" type="text/javascript"></script>
    <script src="/Scripts/CLEditor1_3_0/jquery.cleditor.table.min.js" type="text/javascript"></script>
    <script src="/Scripts/CLEditor1_3_0/jquery.cleditor.icon.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $(".headerR li:last").addClass("active");
            $.cleditor.defaultOptions.width = 930;
            $.cleditor.defaultOptions.height = 300;
            $("textarea[id*=txtContent]").cleditor()[1];            
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="body">
    <div class="bodyR1">
        <div class="topCat">
            <p class="l"></p>
            <div class="m">
                <p class="pos">
                    <a href="#">Đăng tin</a>
                </p>
            </div>
            <p class="r"></p>
        </div>
        <div class="boxBorder2">
            <p><h2><img src="images/bul1.png" /> Gửi yêu cầu đăng tin đến BQT KIMLAND</h2></p>
            <p class="hrDotted"></p>
            <div class="clear" style="overflow:hidden">
                <p class="red" style="margin-left:20px;color:red">
                    <asp:Label ID="lblMes" runat="server" Text=""></asp:Label>
                </p>
                <p class="red">Thông tin cá nhân</p>
                <p class="colLeft1">Họ và tên</p><p class="colRight1"><asp:TextBox ID="txtHoTen" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtHoTen" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send"></asp:RequiredFieldValidator>
                </p>
                <p class="colLeft1">Email</p><p class="colRight1"><asp:TextBox ID="txtEmail" runat="server" CssClass="textbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="send">* Không đúng định dạng email</asp:RegularExpressionValidator>
                </p>
                <p class="colLeft1">Số điện thoại</p><p class="colRight1"><asp:TextBox ID="txtSoDT" runat="server" CssClass="stextbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtSoDT" ErrorMessage="*" SetFocusOnError="True" 
                    ValidationGroup="send">*</asp:RequiredFieldValidator>
                </p>
            </div>
            <p class="hrDotted"></p>
            <div class="clear" >
                <p class="red">Nội dung cần đăng tin</p>
                <p class="colLeft1">Tiêu đề</p>
                <div class="colRight1" style="width:380px">
                    <asp:TextBox ID="txtTieuDe" runat="server" CssClass="textbox"></asp:TextBox> 
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtTieuDe" ErrorMessage="*" SetFocusOnError="True" 
                        ValidationGroup="send">*</asp:RequiredFieldValidator>
                    <div class="lstChk">
                        <asp:RadioButtonList ID="chkLoaiHinh" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Text="Cần bán" Value="cần bán" Selected="True"></asp:ListItem>
                            <asp:ListItem Text="Cần mua" Value="cần mua"></asp:ListItem>
                            <asp:ListItem Text="Cho thuê" Value="cho thuê"></asp:ListItem>
                            <asp:ListItem Text="Cần thuê" Value="cần thuê"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </div>
                
                <p class="colLeft1">Nội dung đăng<span class="impress">*</span> </p>
                <div class="clear">
                    <textarea id="txtContent" runat="server" cols="20" rows="2"></textarea>
                </div>
                <div class="footDT">
                    <p class="txtGui"><span class="impress">(*)</span> Thông tin bắt buộc phải đăng nhập</p>
                    <div class="spam">
                       <p class="spam1"> Mã chống spam</p>
                       <p class="spam2"><asp:TextBox ID="txtCapctcha" runat="server" CssClass="textbox" Width="70px"></asp:TextBox></p>
                       <p class="spam3"><asp:Image ID="imgCapcha" runat="server" ImageUrl="/capcha.aspx" Width="70px" Height="30px"/></p>
                       <p class="spam4"><asp:ImageButton ID="btnReload" runat="server" ImageUrl="/images/refresh.png"/></p>
                       <p class="spam5">
                           <asp:Button ID="btnGui" runat="server" Text="Gửi yêu cầu" 
                               CssClass="buttonGui" onclick="btnGui_Click" ValidationGroup="send" /></p>
                        
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
</asp:Content>

